package org.jeecg.modules.assets.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

/**
 * @Description: 资产明细
 * @Author: jeecg-boot
 * @Date: 2023-12-12
 * @Version: V1.0
 */
@Data
@TableName("assets_item_history")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "assets_item_history", description = "资产明细历史表")
public class AssetsItemHistory {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 资产编码
     */
    @Excel(name = "资产编码", width = 15)
    @ApiModelProperty(value = "资产编码")
    private String assetCoding;
    /**
     * 资产名称
     */
    @Excel(name = "资产名称", width = 15)
    @ApiModelProperty(value = "资产名称")
    private String assetName;
    /**
     * 规格型号
     */
    @Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private String spec;
    /**
     * 类别
     */
    @Excel(name = "类别", width = 15)
    @ApiModelProperty(value = "类别")
    private String category;
    /**
     * 所属公司
     */
    @Excel(name = "所属公司", width = 15)
    @ApiModelProperty(value = "所属公司")
    private String company;
    /**
     * 所属部门
     */
    @Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
    private Integer dept;
    /**
     * 所属人
     */
    @Excel(name = "所属人", width = 15)
    @ApiModelProperty(value = "所属人")
    private String owner;

    /**
     * 使用人
     */
    @Excel(name = "使用人(变更后的)", width = 15)
    @ApiModelProperty(value = "使用人(变更后的)")
    private String ownerNew;
    /**
     * 使用人
     */
    @Excel(name = "使用人", width = 15)
    @ApiModelProperty(value = "使用人")
    private String userer;
    /**
     * 使用人
     */
    @Excel(name = "使用人(变更后的)", width = 15)
    @ApiModelProperty(value = "使用人(变更后的)")
    private String usererNew;
    /**
     * 使用年限
     */
    @Excel(name = "使用年限", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "使用年限")
    private String useTime;
    /**
     * 原值
     */
    @Excel(name = "原值", width = 15)
    @ApiModelProperty(value = "原值")
    private String original;
    /**
     * 净值
     */
    @Excel(name = "净值", width = 15)
    @ApiModelProperty(value = "净值")
    private String netWorth;
    /**
     * status
     */
    @Excel(name = "status", width = 15)
    @ApiModelProperty(value = "status")
    private String status;
    /**
     * url
     */
    @Excel(name = "url", width = 15)
    @ApiModelProperty(value = "url")
    private String url;
    /**
     * 所属部门名称
     */
    @ApiModelProperty(value = "所属部门名称")
    private String deptName;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "简单部门名称")
    private String simpleDeptName;

    private String updateBy;


    private String updateName;


    @Excel(name = "分组", width = 15)
    @ApiModelProperty(value = "分组")
    @TableField("`group`")
    private java.lang.Integer group;
    @Excel(name = "分组名称", width = 15)
    @ApiModelProperty(value = "分组名称")
    private java.lang.Integer groupName;

}
